package com.property.manage.model.resource;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * @author lwb
 **/
@Data
@EqualsAndHashCode(callSuper = true)
public class BuildingVo extends Building{
    private String villageName;
    @NotNull(message = "物业基数不能为空")
    private BigDecimal propertyMoney;
    @ApiModelProperty("车位管理费")
    private BigDecimal rent;

    @ApiModelProperty("折扣描述")
    private String discountDesc;

    @ApiModelProperty("业主姓名")
    private String ownerName;
}
